package com.shensi.adminCollect.domain.system;

import com.shensi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class GzhNewsTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模板id */
    private Long id;


    /** 模板名称 */
    private String templateName;

    /** 模板类型：1.加油获得积分；2.积分兑换；3.电子会员卡充值；4.小程序加油赠送积分；5.电子会员卡消费 */
    private String templateType;


    /** 模板 id */
    private String temlateId;

    /** 油企id */
    private Long stationId;

    /** 油企id */
    private Long enterpriseId;

    /**所属小程序id*/
    private String  appId;
    /**备注*/
    private String  remark;
    /**微信app类型*/
    private String  appType;
    /**微信app类型*/
    private String  enterpriseName;

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getTemplateType() {
        return templateType;
    }

    public void setTemplateType(String templateType) {
        this.templateType = templateType;
    }

    public String getTemlateId() {
        return temlateId;
    }

    public void setTemlateId(String temlateId) {
        this.temlateId = temlateId;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAppType() {
        return appType;
    }

    public void setAppType(String appType) {
        this.appType = appType;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("enterpriseId", getEnterpriseId())
                .append("id",getId())
                .append("appid", getAppId())
                .append("stationId", getStationId())
                .append("tenplateType", getTemplateType())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
